package com.luobo.found.factory.abstract_;

import com.luobo.found.factory.simple.Color;
import com.luobo.found.factory.simple.Red;

/**
 * @author : AnWen
 * @version :1.0
 * @email : anwen375@qq.com
 * @since : 2020/3/4 19:18
 */
public class RedFactory extends AbstractFactory {
    @Override
    protected Color getColor() {
        return new Red();
    }

    @Override
    protected Car getCar() {
        return new VW();
    }
}
